package com.github.wujichen158.andemusic.network;

import com.github.wujichen158.andemusic.lib.Reference;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraftforge.fml.relauncher.Side;

public class AndeMusicNetwork {
    public static final SimpleNetworkWrapper INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel(Reference.MOD_ID);

    public static void registerMessages() {
        int i = 0;
        INSTANCE.registerMessage(MusicMessage.MusicMsgHandler.class, MusicMessage.class, i, Side.CLIENT);
    }
}